package com.shopx.config.dao.db1;

import com.shopx.config.bean.SysHolidays;
import com.shopx.config.model.SysHolidaysModel;
import com.shopx.dal.mysql.SqlMapper;

import java.util.List;

/**
 * TODO
 * @author lituo
 * @className: SysHolidays
 * @date 2024-08-13
 */
@SqlMapper
public interface SysHolidaysDao {
    /**
     * 查询明细记录
     * @author lituo
     * @date 2024-08-13
     * @param sysHolidays
     * @return SysHolidaysModel
     */
    SysHolidaysModel selectByPrimaryKey(SysHolidays sysHolidays);
    /**
     * 新增记录
     * @author lituo
     * @date 2024-08-13
     * @param sysHolidays
     * @return int
     */
	int insertSelective(SysHolidays sysHolidays);

    /**
     * 修改记录
     * @author lituo
     * @date 2024-08-13
     * @param sysHolidays
     * @return int
     */
	int updateByPrimaryKeySelective(SysHolidays sysHolidays);

    /**
     * 删除记录
     * @author lituo
     * @date 2024-08-13
     * @param sysHolidays
     * @return int
     */
	int deleteByPrimaryKey(SysHolidays sysHolidays);

    /**
     * 查询总记录数
     * @author lituo
     * @date 2024-08-13
     * @param sysHolidays
     * @return int
     */
	int selectCount(SysHolidaysModel sysHolidays);

    /**
     * 查询列表
     * @author lituo
     * @date 2024-08-13
     * @param sysHolidays
     * @return List<SysHolidaysModel>
*/
	List<SysHolidaysModel> selectList(SysHolidaysModel sysHolidays);
}

